package com.yzy.util;

/**
 * @author mgl
 * @version 1.0
 * @description 一些消息，定义为静态变量
 * @date 2023/7/9 10:00
 */
public class Message {
    public static String LOGIN_SUCCESS = "登录成功";
    public static String LOGIN_PASSWORD_ERROR = "用户名或密码错误";
    public static String USER_NOT_EXIT = "用户不存在";
    public static String USER_MONEY_NOT_ENOUGH = "余额不足";

    public static String UPLOAD_SUCCESS = "文件上传成功";

    public static String UPLOAD_FAILURE = "文件上传失败";

    //public static String FILE_FORMAT_ERROR = "文件格式错误!仅支持doc/docx/pdf文件";
    public static String FILE_FORMAT_ERROR = "文件格式错误!目前仅支持pdf文件";

    public static String NO_FILE_SELECTED = "未选中文件上传";

    public static String FILE_DOWNLOAD_NOT_PERMITTED = "无该文件下载权限";

    public static String FILE_NOT_FOUND = "文件未找到";

    public static String FILE_DOWNLOAD_SUCCESS = "文件下载成功";

    public static String AVATAR_UPLOAD_SUCCESS = "头像上传成功";
    public static String AVATAR_UPLOAD_FAILURE = "头像上传失败";
    public static String AVATAR_FORMAT_ERROR = "头像格式错误!仅支持jpg/jpeg/png文件";

    public static String GOODS_CREATE_SUCCESS = "商品创建成功";
    public static String GOODS_ALREADY_COLLECTED = "商品已经被您收藏";
    public static String GOODS_NOT_COLLECTED = "商品未被您收藏";
    public static String GOODS_NOT_EXIT = "该商品不存在或已下架";
    public static String USER_ALREADY_BOUGHT = "用户已经该购买商品";
    public static String ORDER_CREATE_SUCCESS = "订单创建成功";
}
